export const cardType = {
  idcard: '居民身份证',
  passport: '护照',
  residence: '港澳台居民 居住证/通行证'
}

export const cardTypeList = [
  { key: 'idcard', val: '居民身份证' },
  { key: 'passport', val: '护照' },
  { key: 'residence', val: '港澳台居民 居住证/通行证' }
]

export const week = [
  '周一',
  '周二',
  '周三',
  '周四',
  '周五',
  '周六',
  '周日'
]

export const discountCertificatesMap = {
  servicemen: '现役军人',
  preferential: '重点优抚对象',
  fireman: '消防救援队员',
  disabilities: '残障人士'
}

export const getCardType = stat => cardType[stat] || stat

export const getDiscountCertificatesMap = stat => discountCertificatesMap[stat] || stat
